package com.relman.vo
{
	import com.adobe.cairngorm.vo.IValueObject;
	
	[Bindable]
	[RemoteClass(alias="com.relman.vo.EnvironmentVO")]
	public class EnvironmentVO implements IValueObject
	{

		public var name : String;
                public var connected : String;
		
        public function toXML() : XML {
	      var retval : XML =
<environment>
  <name>{name}</name>
  <connected>{connected}</connected>
</environment>

	      return retval;
	    }
		
	    public static function fromXML(envXML : XML) : EnvironmentVO {
          var envVO : EnvironmentVO = new EnvironmentVO();
	      envVO.name = envXML.name;
	      envVO.connected = envXML.connected;
	      return envVO;
	    }
}
}
		


